Inspection Setup Wizard (how to configure ROIs)
This guide shows you how to create and configure Regions of Interest (ROIs) for your inspection. ROIs are the specific areas on your parts that the camera will inspect for defects, features, or quality issues.
When to Use This Guide: After you've set up your camera imaging and template image, but before you train your AI model. This is where you tell the camera exactly what areas to inspect.
What are ROIs?
ROIs (Regions of Interest) are boxes or shapes you draw on your image to mark:
- Areas where defects might appear
- Features you want to check (scratches, dents, missing parts)
- Specific components that need inspection
- Quality checkpoints on your parts
Think of ROIs as: Drawing boxes around the areas you want the camera to "look at" during inspection.
Prerequisites
- Camera imaging configured and focused
- Template image captured (if using alignment)
- Access to Recipe Editor
- Sample part positioned for inspection
Step 1: Access Inspection Setup
1.1 Navigate to Inspection Setup
- Open your Recipe Editor
- Click "Inspection Setup" in the left menu
- You'll see your camera's live view or template image
What you'll see: A preview of your part with tools to draw ROIs around inspection areas.
Step 2: Create Your First ROI
2.1 Add a New ROI
- Click "+ Add ROI" or "+ Rectangle" button
- Click and drag on your image to create a box around the area you want to inspect
- Release to create the ROI
2.2 Position Your ROI
- Drag the ROI to position it over the feature you want to inspect
- Drag the corners to resize the ROI to fit the inspection area
- Make sure the ROI covers the entire area where defects might appear
ROI Sizing Tips:
- Cover the full area where problems might occur
- Don't make it too big - focus on specific features
- Leave some margin around the feature for part variations
Step 3: Configure ROI Settings
3.1 Name Your ROI
- Click on the ROI to select it
- Enter a descriptive name like "Weld_Check" or "Surface_Scratch"
- Use clear names that describe what you're inspecting
3.2 ROI Type (Automatic)
The ROI type is automatically determined by your recipe:
- Classification Recipe: ROIs will be used for pass/fail decisions
- Segmentation Recipe: ROIs will be used for measuring and analyzing features
You don't need to set the ROI type - it matches your recipe type automatically.
Step 4: Add Multiple ROIs
4.1 Create Additional ROIs
- Click "+ Add ROI" for each new inspection area
- Position each ROI over different features on your part
- Give each ROI a unique, descriptive name
4.2 Organize Your ROIs
Example ROI setup for a welded part:
- ROI 1: "Weld_Quality" (check weld appearance)
- ROI 2: "Surface_Finish" (check for scratches)
- ROI 3: "Hole_Present" (verify hole exists)
4.3 ROI Best Practices
- One ROI per feature you want to inspect
- Consistent sizing for similar features
- Clear naming for easy identification
- Non-overlapping ROIs when possible
Step 5: Test ROI Coverage
5.1 Check ROI Positioning
- Move your part slightly (if possible)
- Verify ROIs still cover the inspection areas
- Adjust ROI size if needed to handle part variations
5.2 Test with Different Parts
- Try different part examples if available
- Check that ROIs cover the same features on all parts
- Resize ROIs if they miss important areas
Step 6: Save and Verify
6.1 Save Your ROI Setup
- Click "Save" to store your ROI configuration
- Verify all ROIs are named and positioned correctly
- Check ROI types match your inspection goals
6.2 Review Your Setup
Quick checklist:
- ✅ All inspection areas have ROIs
- ✅ ROIs are properly sized and positioned
- ✅ ROI names are clear and descriptive
- ✅ ROIs match your recipe type (classification/segmentation)
Common ROI Patterns
Single Feature Inspection
- One ROI covering the main inspection area
- Simple pass/fail classification
- Example: Checking if a label is present
Multiple Feature Inspection
- Several ROIs for different features
- Each ROI inspects a specific area
- Example: Checking weld quality + surface finish + hole presence
Area Coverage Inspection
- Large ROI covering the entire inspection surface
- Segmentation to measure defect coverage
- Example: Measuring total scratch area on a surface
Troubleshooting ROI Setup
ROI Too Small
Problem: Missing defects at edges
Solution: Increase ROI size to cover full feature area
ROI Too Large
Problem: Including unwanted background areas
Solution: Reduce ROI size to focus on specific features
ROI Misaligned
Problem: ROI doesn't cover feature on some parts
Solution: Use aligner tool or increase ROI size for part variations
Too Many ROIs
Problem: Complex setup, slow processing
Solution: Combine similar features into fewer, larger ROIs
Success! Your ROIs are Configured
Your inspection setup now has:
✅ ROIs positioned over all inspection areas
✅ Clear naming for easy identification
✅ Proper sizing to capture defects and features
✅ Appropriate types for your inspection goals
✅ Coverage for part variations and positioning
Next Steps
After configuring your ROIs:
- Navigate to Label & Train to teach the AI what to look for
- Capture training images showing good and bad examples
- Label your ROIs with the correct classifications
- Train your AI model using the ROI areas you've defined
- Test the inspection with new parts to verify performance
Quick Reference
ROI Creation Steps
- Add ROI → Click "+ Add ROI"
- Position → Drag to correct location
- Size → Drag corners to fit feature
- Name → Enter descriptive name
- Save → Store configuration
ROI Naming Examples
- Good names: "Weld_Check", "Surface_Scratch", "Hole_Present"
- Poor names: "ROI1", "Area", "Check"